package online.longzipeng.cinemasys.vo.seat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.Min;

/**
 * @author lzp
 * @date 2021/4/10 10:12
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "座位修改对象",description = "请求参数类")
public class SeatUpdateVO {

    @ApiModelProperty(value = "id",example = "0",required = true)
    @Min(value = 0,message = "id必须为大于0的数字")
    private Long id;

    /**
     * 外键-所属影厅
     */
    @ApiModelProperty(value = "外键-所属影厅",example = "1",required = false)
    private Long hallId;

    /**
     * 座位号
     */
    @ApiModelProperty(value = "座位号",example = "1",required = false)
    private String name;
}
